From: Mathieu Malaterre Date: Mon, 26 Apr 2021 06:35:01 +0000 (+0200) Subject: d/rules: Remove bogus setting of c++11 in d/rules X-Git-Tag: archive/raspbian/3.6.9-4+rpi1^2~133 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fa2c1ac354b653f0257a1990774ff73ccea3d065;p=dcmtk.git d/rules: Remove bogus setting of c++11 in d/rules Debian package was compiled using gnu++11 which is not anymore the default for current gcc. Set it to c++14 to take advantage of latest compilation optimization. https://support.dcmtk.org/docs/cxx11_support.html --- diff --git a/debian/rules b/debian/rules index 40a9eeaa..1920e1ca 100755 --- a/debian/rules +++ b/debian/rules @@ -39,9 +39,7 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=None \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_DATADIC:STRING=share/libdcmtk16 \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ - -DDCMTK_USE_CXX11_STL:BOOL=ON \ - -DDCMTK_ENABLE_CXX11:BOOL=ON - + -DCMAKE_CXX_STANDARD:STRING=14 override_dh_auto_configure: dh_auto_configure -- $(CMAKE_EXTRA_FLAGS)